import { createRouter, createWebHashHistory } from "vue-router/dist/vue-router";
import HomeView from '../views/HomeView/index.vue'
const routes = [{
  path: '/',
  name: 'home',
  component: HomeView
}, {
  path: '/EditOR',
  name: 'EditOR',
  component: () => import('@/views/EditOR')
}, {
  path: '/Examples/ExampleSpan',
  name: 'ExampleSpan',
  component: () => import('@/views/Examples/ExampleSpan')
}, {
  path: '/Examples/ExampleList',
  name: 'ExampleList',
  component: () => import('@/views/Examples/ExampleList')
}, {
  path: '/AboutSys',
  name: 'AboutSys',
  component: () => import('@/views/AboutSys')
}, {
  path: '/404',
  name: '404',
  component: () => import('@/views/ErrorPage/404.vue')
},
{ path: '/:catchAll(.*)', redirect: '/404', hidden: true }
]
const route = createRouter({
  history: createWebHashHistory(),
  routes
})
export default route